$(function(){
    $('#zoe').hide();
    let state = 0;
    let eye = $('#eye');
    let small = $('#zoe');
    eye.click(
        function () {
            if (state == 0) {
                small.css('display', 'block')
                eye.attr('src', './img/off.png')
                state = 1
            } else {
                small.css('display', 'none')
                eye.attr('src', './img/more.png')
                state = 0;
            }
        }
    )
    window.onresize = function () {
        $("#zoe").hide();
        // 当页面缩小是刷新页面
        // window.location.href = shuaxin
        $('.more img').attr('src','./img/more.png')
    };
})